<p><?php if($login){ ?>
		<hr >
<table  class="table table-bordered table-hover" style="font-size: 13px;">
	
			<thead>
				<div class="row">
				<div class="col-md-12 text-center">
				<p class="form-group alert-info"><label>MSGV :</label><span><?php echo $r3['MaGV'];?></span> <label><?php echo "  -  "?>Họ và tên :</label><span><?php echo $r3['Holot']." ".$r3['Ten']."  -  ";?></span>
			</p> </div></div>
			<tr class="info"><th>STT</th><th>Mã môn thể thao</th><th>Tên thể thao</th><th>Năm học</th></tr></thead>
			<tbody>
	<?php $i=1;
		if($stmt1->execute()){		
				while($r1=$stmt1->fetch()){
?>
				<tr>
					<td><?php echo $i++;?></td>
					<td><?php echo $r1['MaMH'];?></td>
					<td><?php echo $r1['TenMH'];?></td>
					<td><?php echo $r1['NienKhoa'];?></td>
		<?php }} ?>	
			</tbody>
			</table>
    <?php }else{ 	header("location: index.php");}?></p>